package com.whc.dto;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 韦红材
 * @ClassName MessageDto
 * @data 2024/12/11 10:52
 * @Version V1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("消息dto类")
public class MessageDto  implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 正文
     */
    private String content;
    /**
     * 消息id
     */
    private long id;
    //发送方id
    private long senderId;
    //接收方id
    private long accepterId;

    private String createTime;
}
